
#include "CHandleJob.h"


CHandleJob::CHandleJob(int fd)
{
    clientfd = fd;
}

CHandleJob::~CHandleJob()
{
}

 void CHandleJob::setSocket(Socket *sc)
 {
     this->mSocket = sc;
 }

void CHandleJob::Run(void *ptr)
{
   
   cout << " CHandleJob Run " << clientfd << endl;

   
   mSocket->doRecv(clientfd);
   delete mSocket;

}
